package fidel.permission.exception;

/**
 * 
 * 系统自定义的异常类型，实际开发中可能要定义多种异常类型
 * 
 * @author fidel
 * @date 2021年5月
 * @version 1.0
 */
public class CustomException extends Exception {

    private static final long serialVersionUID = 923133757060261398L;
    /** 异常信息 */
    private String message;

    public CustomException(String message) {
        super(message);
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
